package org.pageley.games.sanctuary.domain.event;

import org.pageley.games.sanctuary.domain.Direction;
import org.pageley.games.sanctuary.domain.entity.Entity;

public class MoveEvent implements Event {

	private Direction direction;
	private Entity subject;
	private int distance;
	
	public MoveEvent(Entity subject, Direction direction, int distance) {
		this.direction = direction;
		this.subject = subject;
		this.distance = distance;
	}

	public Direction getDirection() {
		return direction;
	}

	@Override
	public Entity getSubject() {
		return subject;
	}

	public int getDistance() {
		return distance;
	}

}
